<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>子组件向父组件通讯</title>
</head>
<body>
<div id="app"></div>


<!--引入库文件-->

<script type="text/javascript" src="lib/react.js"></script>
<script type="text/javascript" src="lib/react-dom.js"></script>
<script type="text/javascript" src="jsx/12.jsx"></script>
</body>
</html>